@foreach($source as $val)
@if(strtolower($module) == 'border')
<div class="rkmd-checkbox checkbox-rotate checkbox-ripple">
        <label class="input-checkbox checkbox-{{$style}}">
            <input type="checkbox" name="{{$name}}" id="checkbox" 
            @if(!$enable)
            disabled
            @endif 
            value="{{$val['value']}}" 
            @if($val['checked'])
            checked 
            @endif>
            <span class="checkbox"></span>
        </label>
        <div class="captions">{{$val['label']}}</div>
</div>
@elseif(strtolower($module) == 'fade')    

<div class="checkbox-color checkbox-{{$style}}">
    <input type="checkbox"  name="{{$name}}"    
    @if(!$enable)
    disabled
    @endif
      value="{{$val['value']}}"
       @if($val['checked'])
       checked 
       @endif
        />
        <label for="checkbox4">
            {{$val['label']}}
          </label>
</div>
@else   

<div class="checkbox-fade fade-in-primary">
    <label>
        <input type="checkbox"  name="{{$name}}"  value="" 
        @if(!$enable)
        disabled
        @endif
          value="{{$val['value']}}" 
          @if($val['checked'])
          checked
           @endif
           />
            <span class="cr">
                <i class="cr-icon fa fa-check txt-{{$style}}"></i>
            </span> <span>{{$val['label']}}</span>
    </label>
</div>
@endif
@endforeach
